class CreatePeopleLicenses < ActiveRecord::Migration
  def self.up
    create_table :people_licenses do |t|
      t.integer :person_id
      t.integer :license_id
      t.integer :year
      t.text :comment
      t.boolean :is_valid, :default => 1
      t.timestamps
    end
  end

  def self.down
    drop_table :people_licenses
  end
end
